6 / 21

PerformanceURL copied

🚀 Technical HighlightsURL copied

  • Built on FastHTML for modern Python web development with integrated HTMX
  • Uses Mistletoe for extensible Markdown parsing with custom token renderers
  • TailwindCSS + MonsterUI for utility-first styling and UI components
  • Hyperscript for declarative interactive behaviors (theme toggle, sidenote interactions)
  • Mermaid.js v11 for diagram rendering with custom zoom/pan/fullscreen controls via ES modules
  • KaTeX for mathematical notation rendering with auto-render on content swaps
  • Smart Link Resolution: Automatically converts relative links to proper routes with HTMX attributes
  • Frontmatter Caching: LRU cache for parsed frontmatter based on file modification time
  • Lazy Sidebar Loading: Posts sidebar loaded progressively via HTMX endpoint for faster initial load
  • Performance Logging: Debug-level logging tracks render times and bottlenecks to /tmp/vyasa_core.log
  • Custom 404 Page: Elegant error page with navigation options and helpful tips
  • Static File Serving: Serves images and assets from blog directories via /posts/{path}.{ext} routes
  • Raw Markdown Access: Append .md to any post URL (e.g. /posts/demo.md) to fetch source content
  • Optional Authentication: Session-based auth with Beforeware when username/password configured